/*
 * DinnerCancelRule.java
 * Copyright (c) 2014, 2019, Kiri. 
 * All rights reserved.
 */
package com.onesalt.domain;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;

/**
 * 
 *
 * @author kiri
 * @date 2015年5月9日
 * @version 1.0
 */
@Entity(name = "t_dinner_cancel_rule")
public class DinnerCancelRule implements Serializable {

	private static final long serialVersionUID = 6513134148563199904L;

	@Id
	private String code;

	private String name;

	@Lob
	private String detail;
	
	private int sort;
	
	private boolean valid;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public boolean isValid() {
		return valid;
	}

	public void setValid(boolean valid) {
		this.valid = valid;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}
}
